Editing tables

There is no separate table editor in Amaya. A table is simply a structure described by the HTML DTD and it is edited as such. The same commands apply to tables as to other HTML structures.

Tables can be created very efficiently with the Return key. Create a one-cell table with the table button or the Table entry from the Types menu. The insertion point is then moved to the caption of that table. Enter the caption and/or move to the first cell. Type in the content of that cell (Cell 1.1 for example). Create a second cell by hitting the Return key twice (the first hit creates a paragraph in the first cell). To create a new row, press Return three times. To create a new tbody, press Return four times, etc.

Captiion
Cell 1.1 Cell 1.2
Cell 2.1

When you have built the previous table by creating 3 cells, Amaya have had automatically generated an empty cell (future Cell 2.2). You can click on it and insert text. You can also move to this empty cell by using arrow keys. When the selection is at the end of the text "Cell 2.1", you can create a new column between Cell 2.1 and the empty cell by pressing Return key twice.

Note that the table model implemented in Amaya, while being fully compatible with that defined in HTML 3.2, is extended to implement the W3C Working Draft The HTML3 Table Model, which has been accepted by the IETF as a proposed standard, RFC1942. This includes features such as multiple bodies (tbody), header (thead) and footer (tfoot).